<?php
/* @var $this PropertyController */
/* @var $model Property */

$this->breadcrumbs=array(
	'Properties'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List Property', 'url'=>array('index')),
	array('label'=>'Create Property', 'url'=>array('create')),
	array('label'=>'Update Property', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Property', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Property', 'url'=>array('admin')),
);
?>

<h1>View Property #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'name',
		'type',
		'category',
		'description',
		'url',
		'country',
		'city',
		'area',
		'street_address',
		'lat',
		'lng',
		'price',
		'creat_at',
		'last_update',
		'number_of_rooms',
		'number_of_bedrooms',
		'number_of_bathrooms',
		'floor',
		'total_floor',
		'square',
		'phone',
		'status',
		'main_photo',
		'photo_1',
		'photo_2',
		'photo_3',
		'photo_4',
		'video',
		'feature',
		'agent_id',
		'meta_description',
		'meta_keywords',
		'reference',
	),
)); ?>
